package com.muyu.system.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author Administrator
 */

@Getter
public enum SourceTypeEnum {

    /**
     * 书画交易订单
     */
    PAINTING(0, "书画交易订单"),

    /**
     * 商铺订单
     */
    SHOP(1, "商铺订单"),
    /**
     * 拾贝
     */
    SHI_BIE(2, "拾贝开通订单");


    SourceTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @EnumValue
    @JsonValue
    private final int code;

    private final String name;

}
